<template>
	<view class="agreement-info-page">
		<!-- 导航栏 -->
		<free-nav-bar textContent="平台協議" isBackShow></free-nav-bar>
		<view class="agreement-wrapper">
			<view class="input-wrapper flex">
				<view class="label main-text-color">用户协议</view>
				<view class="flex select__wrapper">
					<view class="select"><i class="sprite sprite-arrow-r"></i></view>
				</view>
			</view>
			<view class="input-wrapper flex">
				<view class="label main-text-color">入驻协议</view>
				<view class="flex select__wrapper">
					<view class="select"><i class="sprite sprite-arrow-r"></i></view>
				</view>
			</view>
			<view class="input-wrapper flex">
				<view class="label main-text-color">抽成协议</view>
				<view class="flex select__wrapper">
					<view class="select"><i class="sprite sprite-arrow-r"></i></view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	import $H from '@/common/free-lib/request.js';
	import freeNavBar from "@/components/free-ui/free-nav-bar.vue"
	export default {
		components: {
			freeNavBar
		},
		data() {
			return {
				showPopup: false,
				params: {
					name: '',
					type: null,
					address: '',
					mode: '',
					desc: '',
					full_name: '',
					phone: '',
					business_license: '',
					status: 0
				}
			}
		},
		created() {
			
		},
		methods: {
			handleFruits() {
				this.showPopup = true
			}
		}
	}
</script>

<style lang="scss" scoped>
	.agreement-info-page {
		.agreement-wrapper {
			padding-top: 16rpx;
		}
		.input-wrapper {
			position: relative;
			padding-left: 30rpx;
			height: 88rpx;
			line-height: 88rpx;
			background: #fff;
			border-bottom: 1px solid #EBEBEB;
			
			&:last-child {
				border-bottom: none;
			}
			.label {
				width: 200rpx;
				font-size: 28rpx;
			}
			.input {
				display: block;
				flex: 1;
				font-size: 28rpx;
				height: 88rpx;
				line-height: 88rpx;
			}
			.select__wrapper {
				flex: 1;
			}
			.select__content {
				flex: 1;
				font-size: 28rpx;
				padding-right: 60rpx;
				text-align: right;
			}
			.select {
				position: absolute;
				top: 0;
				right: 0;
				display: flex;
				align-items: center;
				justify-content: center;
				cursor: pointer;
				width: auto;
				padding-left: 16rpx;
				padding-right: 30rpx;
				height: 88rpx;
			}
		}
	}
</style>
